home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Technotools
/
Technotools (Chestnut CD-ROM)(1993).ISO
/
lang_c
/
cgraphix
/
inkey.c
< prev
next >
Wrap
Text File
|
1986-04-30
|
243b
|
16 lines
/* «RM120»«PL99999»«TS4,8,12,16,20,24,28,32,36,40,44,48,52,56,60,64,68,72,76» */
#include <stdio.h>
int inkey()
{
extern int bdos();
int ch;
if (0 == (ch = 0xff & bdos(8))) {
ch = -(0xff & bdos(8));
}
return(ch);
}